Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usbip runner example and test against the Gnuk test suite #105

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

sosthene-nitrokey
Copy link
Collaborator

No description provided.

@sosthene-nitrokey
Copy link
Collaborator Author

Unlike Nitrokey/nitrokey-3-firmware#149, the example is detected by gpg.

Cargo.toml Outdated
@@ -50,6 +54,10 @@ ron = "0.8"
serde_cbor = "0.11"
hex = { version = "0.4", features = ["serde"] }

# usbip
trussed-usbip = { git = "https://github.com/trussed-dev/pc-usbip-runner", default-features = false, features = ["ccid"]}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a rev until we have a first release?

Cargo.toml Outdated Show resolved Hide resolved
@sosthene-nitrokey sosthene-nitrokey changed the title Add usbip runner example Add usbip runner example and test against the Gnuk test suite Feb 1, 2023
@sosthene-nitrokey
Copy link
Collaborator Author

This PR is becoming a bit more than just the example, I also add to it fixes I find by testing against the Gnuk test suite. I will break it down into multiple PRs.

I actually also needed to modify the test suite to adapt to some variation in behavior that are not bugs (supported algos for example). I'll create a fork of it, we can try to upstream the changes once everything looks good.

@sosthene-nitrokey sosthene-nitrokey force-pushed the usbip-runner branch 3 times, most recently from 0ad657a to cf06b17 Compare April 7, 2023 12:48
@sosthene-nitrokey
Copy link
Collaborator Author

Updated to work on top of the latest main. The bugs I talk about were fixed in other PR, this tree actually passes the test suite.

@sosthene-nitrokey sosthene-nitrokey merged commit e569230 into main Apr 7, 2023
@sosthene-nitrokey sosthene-nitrokey deleted the usbip-runner branch April 7, 2023 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants